package org.yanfengying.car.mapper;

import org.yanfengying.car.domain.Car;
import org.yanfengying.utils.mapper.BastMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yanfengying
 * @since 2022-11-01
 */
public interface CarMapper extends BastMapper<Car> {

    List<Car> getCarDetailByIds(List<Long> ids);

    Integer getAuditstateCount(List<Long> ids);
    //上架
    void onsale(List<Long> ids);
    //下架
    void offsale(List<Long> ids);
}
